package com.zjs.practice.main;

import lombok.extern.slf4j.Slf4j;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 测试类2
 * @date 2019/12/17 23:55
 * @version 1.0
 */
@Slf4j
public class Main2 {

    public static void main(String[] args) {
        int a = 1;
        switch (a) {
            case 0:
                System.out.println(0);
                break;
            case 1:
                System.out.println(1);
            default:
                System.out.println(2);
        }
    }
}
